private static InetSocketAddress resolve(InetSocketAddress inetSocketAddress) {
        if (!inetSocketAddress.isUnresolved()) {
            return inetSocketAddress;
        }
        return new InetSocketAddress(inetSocketAddress.getHostString(), inetSocketAddress.getPort());
    }
Converts {@link SessionProtocol}, {@link Endpoint} to a uri without serialization format.
core/src/main/java/com/linecorp/armeria/client/proxy/WrappingProxyConfigSelector.java