Makes hiredis reading functions easier to include in external projects [fixed all merge conflicts against current version] Closes #249