use the public identical host as the WS server reference

There probably are some issues with doing it this way, but this works
in most cases for now.