- when the user types in a message, the server gets it as a chat message event