code: public <T> T createClientProxy(Class<T> proxyClass, WebTarget baseTarget) {
          return factory(ctx).createClientProxy(proxyClass, baseTarget);
      }
docs: Create a Client proxy for the given interface type.
  Note that different JAX-RS providers behave slightly
  differently for this feature.
  
  @param proxyClass the class to implement
  @param baseTarget the API root
  @return a proxy implementation that executes requests