Fix bug in websocket message for server.