This is a sample proxy service which spins up a set number of listeners ready to forward XMLPROXY requests with tpinit() set up .
Note that when returning the proxied response data to my Java client, I needed to trim the trailing NULL byte. I'm not sure if this is a bug in the library or something to be expected.
proxy-service-sample.txt