Added support for multiple remote middlewares
minor
Fix middleware code to allow using it without going through Router class / HTTP
Merge pull request #77 from andig/parameters

Fix middleware code to allow using it without going through Router class / HTTP
Merge pull request #74 from andig/multimiddleware

Added support for multiple remote middlewares
Improve timestamp validation fix from 9c8d8c48f34fdc671c459e10a4207116378a3156