Would be nice if listening on a socket over SSL was supported to accompany /sockopen -e which allows connecting with a socket over SSL. Maybe even toss in something like /sslcert to be able to generate and output a self-signed ssl certificate to file.

Not sure about the command format, but I'd say: /socklisten -e <sockname> <path\to\sslcert>