a self contained irccat clone in python