@Override
        public boolean equals(Object o) {
            if (!(o instanceof Socket other)) return false;
            return (hostname.equals(other.hostname) && port == other.port);
        }
This class is a utility for unit tests.. You can register HttpRequestHandler instances in it, and then
you can extract an AsyncHttpClient&lt;HttpResult&gt; instance from it, which you can use to talk to the
registered servers. Thus you can do end to end testing of components talking over HTTP without actually
going through HTTP if you are using the HTTP abstraction layer in communication.http package.
clustercontroller-utils/src/test/java/com/yahoo/vespa/clustercontroller/utils/test/TestTransport.java