I am surprised that there have been no responses to your question as this would be like the holly grail for people interested in privacy oriented and robust peer to peer messaging.
I wouldn't be able to add much know how to the technical aspects unfortunately.