Disable https proxy settings if http proxy is disabled