public static Endpoint of(String host, int port) {
        validatePort("port", port);
        return create(host, port, true);
    }
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
core/src/main/java/com/linecorp/armeria/client/Endpoint.java