Quick question - are you building all of this from scratch or are you leveraging any of the technology or approaches from the OG federated messaging system: XMPP?
If the answer is "no", I just hope that you're not reinventing the wheel unnecessarily (or developing a server that precludes an XMPP interface in the future).
Keep up the good work and godspeed shipping your MVP.