Extends express.io application, adding middleware functionality