rewriting the PHP Redis basic library to comply with the 2.0 protocols