ircchat: basic IRC client

This client could do with a bit better error handling still, and the
connection phase is blocking (meh!) so that should be fixed :)