Sample code for 30+ languages & platforms
Perl

Socket/SSL/TLS Examples for Chilkat2 Perl