This commit implements the new ss protocol proposed here: https://github.com/shadowsocks/shadowsocks-org/issues/16