a auto-detect proxy switcher