add some custom registry logic for setting/resetting test proxy in windows