Server-side chatroom handler.