Add context propagation middleware

/to @ritch @bajtos @piscisaureus 
Could you please give a name to this anonymous function? E.g. `loopbackRestHandler`. It will make the stack traces easier to read.