modified the way in which shadowsocks is called.