Connect compatible middleware for node-validator.