Use url.ResolveReference

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>