use WebSocket constants