c++ class used for sharding hiredis clients