TOR, for example, was originally developed by the US Navy and then DARPA.
There’s a limited set of developers working Openfire, and I don’t know if there is a skill set capable of building such a feature in a manner secure enough to avoid state-level actors in any meaningful way.