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

Moved from the deprecated `res.send(status, body)` to the newer `res.status(status).send(body)`.