Added a function to split IRC hostmasks
Added support for PING, JOIN, and PRIVMSG messages