better config for jaxrs client