Added ClientResource#wrap method with a specific classloader in order to generate the proxy.