Fixed issue with WebSocket version