williamwicks/irc-connect — pull request #5 by Spudz76 (2014-08-19 04:54:31+00:00)
Title: Add SSL, expose more options, add options handler to keep options sane, add optional create() if you don't want to connect() until later

Update/repair README example to document new features/usage;

Add SSL (tls) support, see README for new example/docs;

Retool options in general:
Rename 'name' option to 'realname' to better match what all other irc clients call it;
Add 'nick' option to avoid strange random nick at connect (if you don't want that);
Add 'ident' option to override the default 'irc-cnct'
Add 'secure' option for SSL (tls), can be false (default), true or 'semi'
Add 'lazyCA' option but you might as well use the 'semi' trick

Add 'create()' method which takes options and constructs the Client, but does not connect. This is so one can bind all their listeners or do odd custom junk, before firing off the actual connect().

NOTE: Everything, including previous connect(host,options||realname) usage, is backward compatible;