Shortens a given URL