After living through Google Chat going down while handling a server incident at work, I created an internal, encrypted chat system in order to have an alternative in case our regular communications channel is down.
However the actual chat part of it is very barebones with a simplistic JSON-based protocol and a simplistic IRC-like interface - quite unlike devzat.
I wonder how hard it would be to untangle the authentication and transport bits from devzat and plug in our own proprietary auth/transport.