def METHOD_NAME(dest):
    use_as_proxy = False
    rewrite_uri_host = False
    if dest.startswith('!'):
        dest = dest[1:]
        rewrite_uri_host = True
    if dest.startswith('@'):
        dest = dest[1:]
        use_as_proxy = True
    return dest, rewrite_uri_host, use_as_proxy