Maybe this should go into a more general area so it makes more sense for other code that wants to turn off the proxy?