Fix the reconnection and make WS detect that the server is gone
Let TJAlien decide if it should reconnect - remove recursive reconnect from the connection manager. Poll for connection status in IsConnected(). Use the right callback reason for the connection error event.
Showing with 51 additions and 49 deletions