Threadsafe + pipelines wrapper for the Hiredis C library