Refactored all the redis reader code from the hiredis sources