The client can now connect to the server, send the API key and receive data
On connection error it automatically tries to reconnect every 5 seconds
Client can now understand server requests