Code example for HttpsURLConnection

Methods: setHostnameVerifier, setSSLSocketFactory