feat(config): guess websocket hostname when not configured

wenn no ws-base attribute is found, the hostname which
serves the client app will be tried for the websocket
connection