Secure Messaging for Heterogeneous Federations