The LWP::Protocol::connect module provides support for using https over a proxy via the HTTP/Connect method.