Initial attempt at a custom error pages middleware. It works by hijacking the response body stream for specified status code; response body writes by other middleware are discarded.