SocketAddress toRemoteAddress() {
            final InetSocketAddress remoteAddr = endpoint.toSocketAddress(-1);
            if (endpoint.isDomainSocket()) {
                return ((com.linecorp.armeria.common.util.DomainSocketAddress) remoteAddr).asNettyAddress();
            }

            assert !remoteAddr.isUnresolved() || proxyConfig.proxyType().isForwardProxy()
                    : remoteAddr + ", " + proxyConfig;

            return remoteAddr;
        }
Closes all {@link Channel}s managed by this pool.
core/src/main/java/com/linecorp/armeria/client/HttpChannelPool.java