Make web socket port dynamic

The web socket will attempt to connect back to the service on the same port as the HTTP connection