refactor
finish shadowsocks plugin