Code example for HttpsURLConnection

Methods: setConnectTimeout, setHostnameVerifier, setSSLSocketFactory