Support HTTPS

Hello,

Some data are on an HTTPS-only server. This patch adds support for HTTPS.

Regards,