Make hiredis an optional dependency