Is there any way in R5 to write custom http response headers from a java agent?
What I want to do are:
1. I've got error handling code and I want to control the 500 response codes programmtically (I generate stack traces in XML or JSON format)
2. Control cache control headers programmatically for certain resources

