use `url.resolve` instead of `relToAbs` (fixes #2)
Merge pull request #3 from cvan/url-resolve

use `url.resolve` instead of `relToAbs` (fixes #2)