Havvy/simple-irc-socket — pull request #2 by rickihastings (2013-12-05 12:31:00+00:00)
Title: Adding capabilities support

This doesn't add actual support for it, just lets you choose whether to send a CAP LS out at the start of the handshake, there's no other way to implement it, I tried hooking onto the `connect` event or removing all the listeners and re-adding them but it feels a bit hacky.

This just takes the `capab` option in the `network` object, if it's `true` it'll send out CAP LS, if not it won't. Clients can handle anything else on their own.