Recently, we found and issue with the previous version of fetchreport when using proxy. Perl LWP is well known to not using the method CONNECT properly, which is not always required by proxies for https connection, but sometimes mandatory.
So I rewrote the script using WWW::Curl instead, which should be more versatile...
Feedback more than welcome
New fetchreport 7 (beta): https://community.qualys.com/docs/DOC-3222