Support relative url for HTTPS