code: public static WebsocketClientTransport create(TcpClient client) {
      Objects.requireNonNull(client, "client must not be null");
  
      return create(HttpClient.from(client), DEFAULT_PATH);
    }
docs: Creates a new instance
  
  @param client the {@link TcpClient} to use
  @return a new instance
  @throws NullPointerException if {@code client} or {@code path} is {@code null}