Accept calls to service while reconnecting

Now when client is reconnecting to service it can accept calls and write them to buffer. When client connects all requests will be sent to the socket.