@staticmethod
def _compose_url(entry):
    """Compose the URL from Apple non-standard protocol names."""
    sub = {'htps': 'https', 'ldps': 'ldaps', 'ntps': 'nntps', 'sox':
        'socks', 'teln': 'telnet', 'tels': 'telnets', 'imps': 'imaps',
        'pops': 'pop3s'}
    url = entry.get('url', '')
    protocol = entry.get('protocol', '')
    if url and protocol:
        url = '%s://%s' % (sub.get(protocol, protocol), url.strip())
    return url
