@Internal
    default Socket createSocket(Proxy proxy, HttpContext context) throws IOException {
        return createSocket(context);
    }
Creates new, unconnected socket via a proxy (generally SOCKS is expected).
The socket should subsequently be passed to {@link #connectSocket(TimeValue, Socket,
HttpHost, InetSocketAddress, InetSocketAddress, HttpContext) connectSocket} method.

@since 5.2
httpclient5/src/main/java/org/apache/hc/client5/http/socket/ConnectionSocketFactory.java