Fix go test.
Update test script to use shadowsocks-nodejs from npm.
Do a single write to send both iv and data.
Use method "aes-256-cfb" in sample config.