Add formatting for urls that are "local" to a site

Eg for https://news.ycombinator.com we find hrefs to "newcomments" which should be formatted to https://news.ycombinator.com/newcomments