Done some code refactoring: Added a generic thread safe list type.
Added JOIN command.
Implemented PART.
Added channel PRIVMSG support.