MULE-8075: Changes to enable cxf to work with the new http module.
(cherry picked from commit 79a979d387a96832f54685bad0a6fee9e659b1bb)
MULE-8075: Fixing test that was missing HttpRequestOptions.
(cherry picked from commit 510ff9c7ef778d92061bab630cc372fa4fa7d959)