Add support for HTTPS