Getter for a javax.net.ssl.SSLSocketFactory.

Also added the possibility to set a TrustManagerFactory.