Hi there,
I have tried using the -e switch with no luck. 
The socket does not even successfully open. I paste my code below.
alias test_ssl {
  if ($sock(test_ssl)) sockclose test_ssl
  sockopen -e test_ssl irc.hackthissite.org 7000
  echo 4 -s * /test_ssl: Opening ssl socket...
}
on *:sockopen:test_ssl: { echo 4 -s * /test_ssl: Socket $sockname now open }
on *:sockread:test_ssl: {
  var %tmpdata
  sockread %tmpdata
  tokenize 32 %tmpdata
  echo 4 -s * /test_ssl:  $1-
}The script just echoes 'opening socket...'
Thanks in advance for any replies