// Create an SSL socket from an ordinary one, to let you talk to a secure server using raw sockets. // TLS works similarly. javax.net.ssl.SSLSocketFactory.createSocket( Socket , String, int, boolean );