DefaultConnectionFactory can now be constructed with a SocketFactory or SSLSettings