Telegram’s founder Pavel Durov registered the company so it works in Russia’s “legal framework,” but won’t succumb to pressure to hand over user data.