So what if I host my own messaging service? As in: bring back IRC?
The way I understand if your solution would become popular, the law can come after you to provide a log of messages in plain text. Also they will have the legal power to force the popular operating systems to enforce generic keylogging/packet capturing and whatnot.
The same reason as why streaming services are being ditched in favor of piracy will happen to social media.