HTTPS support added