Refactor IrcMessage internals