Adds HTTPS support