Include response headers in RequestErrorEvent.

This is helpful for accessing the `Content-Type` header to determine how to display the error response to the user, as I'm doing in the terrain server.