Made it possible to switch autoProxy on/off runtime.