Havvy/irc-socket — pull request #4 by rickihastings (2013-12-11 16:10:55+00:00)
Title: Added error event

I've added an error event because I was listening on `IrcSocket.impl.on('error')` and it seemed a bit messy. I've also changed these events to on instead of once incase someone decides to call `connect()` again later down the line without re initiating the object and a close or error happens again it wont bubble down.