Initial code for converting payload to irc messages