javadoc fixed
Added getSSLSocketFactory
jdk5 compatibility