code: public static Endpoint of(String host, int port) {
          validatePort("port", port);
          return create(host, port);
      }
docs: Creates a new host {@link Endpoint}.
  
  @throws IllegalArgumentException if {@code host} is not a valid host name or
  {@code port} is not a valid port number