fix: macos systray duplicated icon
- Auto-fallback to sidecar mode if service mode fails
1. close all proxies directly when reset_proxy 2. init_sysproxy and update_sysproxy combined into one 3. optimize lock usage 4 ptimize the thread loop of guard_sysproxy,
This reverts commit f6fce6bd31.
f6fce6bd31