drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/HttpConnection.java
public void setSocketFactory(ISocketFactory socketFactory) {
        endRequest();
        if (socketFactory == this.socketFactory)
            return;
        try {
            close();
        } catch (IOException e) {
            // ignore?
        }
        this.socketFactory = socketFactory;
    }
public void setSocketFactory(ISocketFactory socketFactory) {
        endRequest();
        if (socketFactory == this.socketFactory)
            return;
        try {
            close();
        } catch (IOException e) {
            // ignore?
        }
        this.socketFactory = socketFactory;
    }
Sets the factory this connection uses to create sockets. If the given
socket factory is <code>null</code> the default socket is used.

@param socketFactory the factory this connection uses to create
sockets