added support for urls and mailto/xmpp scheme