There is very little documentation on the TSora protocol used on "efnet" ircd's. You cannot use another protocol's services on it without heavy modification.
To start, read
http://www.iagora.com/~espel/ircd/protocol.html for the basic TSora protocol we all use.
Then read
http://www.ircd-hybrid.org/docs/ts5.txt for the changes between TS3 (what was the standard before about the middle of last year) and TS5, which is the current EFnet mandated standard.
For specifics of the various protocol commands, you will unfortunately have to read the source of one of the ircd's used on EFnet.
http://www.ircd-hybrid.org/ for ircd-hybrid 7,
ftp://ftp.blackened.com/pub/irc/hybrid/hybrid-6 for ircd-hybrid 6,
http://www.ircd-ratbox.org/index2.shtml for ircd-ratbox, and
http://www.codestud.com/csircd/ for csircd.
Note that some of these servers have documentation in their doc directories describing some of the protocol extensions they use. These documents will help you as well.
Another source of protocol information is looking at the source of an existing services program that supports the TSora protocol. I maintain links to the publically available ones at
http://ircd.botbay.net/services.html.
Also note RFC 2810-2813 are IRCnet specific. They do not describe EFnet's protocol's and are therefore not valid for what you are intending to do.
Good luck.