Captures request and response XML on requests for debugging.