Tony,
we didn't think of making the Proxy Adapter a reusable sample code
(though we don't obfuscate it).
However, we'll send you the current source code by email, after a short revision of the embedded comments.