The behind the scenes api that sends messages from client to server and from server to client.