Add middleware wrapper example
Merge branch 'middleware-wrapper' into 1.1-development

* middleware-wrapper:
  Add middleware wrapper example