Make the registered websocket URI configurable.
Port may differ when connecting through a proxy.