Fix #173: HTTPS request doesn't work when disable_ssl_certificate_validation=True

Sets `SSLContext.verify_mode` to `ssl.CERT_OPTIONAL` if `disable_ssl_certificate_validation` is `True` otherwise it is set to `ssl.CERT_REQUIRED`.