OR-902 Use composable middleware so modules can inject their resolvers for streams
Merge pull request #632 in OR/rse from OR/rse-chamerling:OR-902 to master

* commit '62ebfcd35d80f455bddd7afdecd2cf02b2701a2a':
  OR-902 Use composable middleware so modules can inject their resolvers for streams