Add KCP support for shadowsocks. KCPTUN should be setup on a different port to avoid conflicts with Shadowsocks' UDP support.
The following action will take only one SU request with this commit: * Start service in NAT mode; * Reset in NAT mode; * Flush DNS. And stopping service in NAT mode doesn't need SU request any more.
This reverts commit 7a87eab4.
This reverts commit b833cb62.
Put ShadowsocksRunnerService into :bg process. It helped to solve #530, but still I'm not sure why it works. One assumption is that the startService() in BootReceiver helps to ensure :bg process in a valid state.