Add support for IRC channel keys

This adds support for supplying a key (a channel password) to join an IRC channel. I have tested this with a Freenode channel which requires a key to join, and it seems to work fine.