Add scheme, host when opening relative URLs.

Fixes #2710