Convert relative URLs to absolute URLs given an HTML source