Support additional headers in the error renderer.

E.g. for setting a proper Content-Type response header.