docs: @Override
      public Session connectToServer(Endpoint endpoint, ClientEndpointConfig endpointConfig, URI path) throws DeploymentException, IOException {
  
          if (endpoint == null || path == null) {
              throw new IllegalArgumentException();
          }
          ClientConnector x = new ClientConnector();
          return x.connectClass(endpoint, path, endpointConfig, this);
      }