Enabled pathname in ws:// URL.

Small change to enable use of paths in the websocket URL, handy if you have more than one proxy service exposed.