8164595: javax/net/ssl/FixingJavadocs/SSLSessionNulls.java fails intermittently with javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
Summary: Takes advantage of new SSLSocketTemplate to resolve this issue
Reviewed-by: xuelei
Contributed-by: John Jiang <sha.jiang@oracle.com>