Add server error listener.

via https://github.com/martynsmith/node-irc#help---it-keeps-crashing

Couldn't get the server to throw an errors this time and I didn't feel like hosting my own, so this is untested (but basically straight copy-pasta!).