Initial version of irc adapter. Horrible mess.

But you need to start from something.