Implement IRC message parsing