It’s about 65 pages so not really small, but the RFC for IRC client protocol looks like a relatively easy thing to implement since it’s mostly sending/receiving ASCII and taking action based on the message received. https://www.irchelp.org/protocol/rfc/rfc2812.txt