Basic support for threads (working)

This commit updates the project so that it is able to successfully
connect to an IRC server, login to NickServ, wait for a cloak, then join
a channel.

Also, the ircpacket module has been updated to provide a function to
make PRIVMSGs.