added support for websocket handling on other port

This may get the application to work through proxies when we can use
port 80 for HTTP and port 443 for WS.