private static InetSocketAddress toRemoteAddress(Endpoint endpoint) throws UnknownHostException {
        if (!endpoint.hasIpAddr()) {
            endpoint = endpoint.withIpAddr("127.0.0.1");
        }
        return endpoint.toSocketAddress(-1);
    }
Makes sure the cache keys created via different paths are the same.
core/src/test/java/com/linecorp/armeria/client/SessionProtocolNegotiationCacheTest.java