disable https->http redirects in libcurl

This change prevents changing the protocol from https to http.