Fix bug that prevents network proxy wss connnections from being established