Add context propagation middleware

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