I would guess someone already did HTTP proxy in Perl before, and a little googling proved fruitful:
Stack Overflow: Perl HTTPS over proxy using LWP::UserAgent
Does that do what you need?
In reply to Re^2: IO::Socket::SSL with http proxy tunnel?
by NERDVANA
in thread IO::Socket::SSL with http proxy tunnel?
by lembark
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |