Added a simple middleware which can be used to check the incoming content-type in express.