A PHP class that attempts to resolve URLs to a final, canonical link