Improve information in the error page

* Use obj.http.X-Cache instead of unreachable resp.http.X-Cache
* Only display headers when present
* Add server port and identity

Change-Id: I6e48164538e495a6ac175694209a6453a01696ba
Merge "Improve information in the error page" into production