changed encoding for irc protocol