What I was trying to point out is that there's no way the characters you're seeing are \r\n. Those characters cannot be sent intact as messages with the IRC protocol.

To demonstrate this simply type: //msg #channel Hello! $crlf JOIN #test123. Other users in #channel will only see "Hello!", and you'll join #test123. This is how IRC works, regardless of which client you use.