example rust code for basic irc