WebSocketServer : improve protocol