WICKET-5687 content type in header is being lost when using a AbstractTransformerBehavior

Preserve the web response's meta data (headers) when AbstractTransformerBehavior is used to transform the page's markup

(cherry picked from commit 3b0b2f2032e27445347b5ca24420933b4f32723f)