Bug 1024007 — Add a 503 error handler.

> One proposal is to move all the middlewares we have into a middlewares.js file,

:+1: