code: public WebSocketPublisher toWS() {
          return new WebSocketPublisher()
              .coding(coding)
              .facade(facade)
              .hostName(hostName)
              .port(port)
              .urlPath(urlPath);
      }
docs: enables sharing of common settings if publishing also as websocket service
  @return