in reply to HTTPS POST with LWP via Socks

Interesting problem.
LWP is using IO::Socket::SSL as backend for https which transparently uses IPv6 if available. But, with plain http LWP is only using IPv4 (Net::HTTP isa IO::Socket::INET).
Your SSL host probably resolves to an IPv6 address so IO::Socket::SSL will use it, but then you try this address with a socks4 proxy - and the socks4 protocol can only do IPv4.

So what can you do?