default void connect(
            ManagedHttpClientConnection conn,
            HttpHost endpointHost,
            NamedEndpoint endpointName,
            InetSocketAddress localAddress,
            Timeout connectTimeout,
            SocketConfig socketConfig,
            Object attachment,
            HttpContext context) throws IOException {
        connect(conn, endpointHost, localAddress, connectTimeout, socketConfig, context);
    }
Connect the given managed connection to the remote endpoint.

@param conn the managed connection.
@param endpointHost the address of the remote endpoint.
@param endpointName the name of the remote endpoint, if different from the endpoint host name,
                  {@code null} otherwise. Usually taken from the request URU authority.
@param localAddress the address of the local endpoint.
@param connectTimeout the timeout of the connect operation.
@param socketConfig the socket configuration.
@param attachment connect request attachment.
@param context the execution context.

@since 5.4
httpclient5/src/main/java/org/apache/hc/client5/http/io/HttpClientConnectionOperator.java