Greatly improved performance

...by caching ProxyGenerator instance - previously, new ProxyGenerator
instance was (stupidly) used for each request, causing slowdowns. The
performance improvement can be 2-5 times.