added a log message when no host is defined for the websocket connection