Don't have Telegram yet? Try it now!
https://blog.process-one.net/proxy-protocol-in-ejabberd/
Proxy protocol in ejabberd