refactoring to demonstrate proxying a cxf client as well.