add a simple middleware that wraps res:send
Merge pull request #1 from bakins/servingmiddleware

add a simple middleware that wraps res:send