@Override
    public void addListener(Consumer<? super List<Endpoint>> listener, boolean notifyLatestEndpoints) {
        if (notifyLatestEndpoints) {
            // Endpoint will notify only once when a listener is attached.
            listener.accept(endpoints);
        }
    }
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