Added client options to specify server websocket listening port

Deploying my apps to OpenShift, I need the websocket client connecting to either 8000 (ws) or 8443 (wss), which was not retrieved correctly by `window.location.host`.

I've added `clientOptions.srvPort` and `clientOptions.srvSecurePort` options - ws and wss respectively -  so that we may specify at which port the client may connect to the server through websockets.