add redis protocol support