Added HTTPS support via TLS 1.0, 1.1, and 1.2.