Updated the middleware to use res.status().send()
Merge pull request #4 from mkretschek/issue-2

Updated the middleware to the newer `response` API (resolves #2)