private static String normalizeHost(String host) {
        final boolean hasTrailingDot = hasTrailingDot(host);
        host = InternetDomainName.from(host).toString();
        // InternetDomainName.from() removes the trailing dot if exists.
        assert !hasTrailingDot(host) : host;
        if (hasTrailingDot) {
            host += '.';
        }
        return host;
    }
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