doc: add a bunch of IRC protocol documentation