An example of client/server with bidirectional communication (client writes to server, server writes to client)