I think the key thing isn't so much "built-in to Firefox" as "supported and promoted by Mozilla." Some kind of federated chat web app would be cool and, if you could use WebRTC to make the main functions of it peer-to-peer, might not require a huge amount of server infrastructure. If Mozilla could afford to offer that infrastructure to Firefox users for free, it would help with adoption.