Added support for multiple remote middlewares
minor
Merge pull request #74 from andig/multimiddleware

Added support for multiple remote middlewares