in reply to News::Scan and SSL

Not really a perl solution, but you could set up a tunnel, which handles the SSL-part (http://www.stunnel.org for example).

And then you can connect to the tunnel, which will then forward all traffic to the correct server/port after encrypting everything...