Added ability to tap directly into the response before sending