Modified WebSocket.cs
Fix to support HTTP Auth as a WebSocket client