in reply to WWW::Mechanize and https URL error

You're bypassing Crypt::SSLeay and asking LWP::Useragent to contact the proxy directly. See the Crypt::SSLeay docs on using it via a proxy.