Code example for HttpsURLConnection

Methods: connect, getResponseCode, setConnectTimeout, setDoOutput