i have found this project called "Smart IRCd" or SIRCD here:
SIRCD 0.5.2
1. This IRCd is really smart and tiny (only 64 Ko)
2. It's SSL ready !
3. It's MultiOS (Windows, Linux, Solaris, FreeBSD)
4. The project seems to be discontinued since 2 May 2003.
5. And the whole source code is available !
Why not trying to continue and plug this fine prog to ioFTPD (exe dll...) !?