Resolve urls that don't have a hostname. Fixes #11