Sending events from client to server.