Fix HTTPS support

On systems that have `CURLOPT_PROTOCOLS` set, no HTTPS requests could be made. This was very unfortunate, because HTTPS was the default for this library.

Kudos to @Koniii for finding this bug!