You're right -- any XMPP server can theoretically be used with
Hemlock, but ejabberd is simply the server that we chose to
concentrate on.
There may be some ejabberd-specific code lurking deep inside. If you
decide to fork the project on GitHub and patch it to work with other
XMPP servers, please let us know!
Cheers,
Ron