cobbled-together mess of an irc packet sending thing