Working message passing between clients and server.