RedisClient: compatibility with phpredis