Don't have Telegram yet? Try it now!
http://marc.weistroff.net/2012/11/22/authenticated-cross-domains-ajax-requests-with-cors/
Authenticated Cross-Domains AJAX Requests with CORS