Move hiredis into oprionalDependencies

Make hiredis optional because it's for testing.