Added, captureContent and captureHeaders parameters