Support changing protocol to HTTPS