Another big nasty hack...

This is starting to get out of hand, hopefully this time we can fix the
timing out issues.
I suspect that the bot just misses a ping-pong response at some point.
IRC errors are now reported in the console and auto-reconnecting
actually works...