add some reconnecting functionality to gevent irc