change default proxy protocol to https