@Override
    public EndpointInfo getEndpointInfo() {
        final AsyncConnectionEndpoint endpoint = endpointRef.get();
        return endpoint != null ? endpoint.getInfo() : null;
    }
@deprecated TLS should be configured by the connection manager
httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/InternalHttpAsyncExecRuntime.java