Redis middleware to expose res and req objects.