Support both req and res as arguments

closes #5