Updates client->server connection handling.
Send keep alive from both sides for request testing purpose.