Add support for HTTPS downloads.