private static Endpoint create(String host, int port, boolean validateHost) {
        final String normalizedIpAddr = IpAddrUtil.normalize(host);
        if (normalizedIpAddr != null) {
            return new Endpoint(Type.IP_ONLY, normalizedIpAddr, normalizedIpAddr, port, DEFAULT_WEIGHT, null);
        }

        if (isDomainSocketAuthority(host)) {
            return new Endpoint(Type.DOMAIN_SOCKET, host, DOMAIN_SOCKET_IP, DOMAIN_SOCKET_PORT,
                                DEFAULT_WEIGHT, null);
        } else {
            if (validateHost) {
                host = normalizeHost(host);
            }
            return new Endpoint(Type.HOSTNAME_ONLY, host, null, port, DEFAULT_WEIGHT, null);
        }
    }
Creates a new host {@link Endpoint} <strong>without</strong> validation.

<p>Note that you should carefully use this method only when both {@code host} and {@code port} are
already valid.
core/src/main/java/com/linecorp/armeria/client/Endpoint.java