bin/switch_net.sh: Add autoproxy_pac switching support