I believe your question relates to writting code that can get past a proxy rather than trying to use PPM through a proxy.
That being the case, take a look at the CPAN module, Net::HTTPTunnel.
I believe it will get you started and has references for more reading as a bonus