Small WebSocket bugfix