[CXF-5621] Adding JAXRS client factory methods allowing to control the time the thread local proxy keeps the state, patch from Parwiz Rezai applied