Use new interfaces and such for test and make sure the clients are properly closed

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1530846 13f79535-47bb-0310-9956-ffa450edef68
remove an unused chunk of code

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1530847 13f79535-47bb-0310-9956-ffa450edef68