Prosody

 Prosody  is a modern open-source XMPP server.

Prosody is written in Lua and has a strong plugin module structure which enables it to be easily updated and modified.