= http: fix relative URI resolution, fixes #740
Merge pull request #757 from jrudolph/i/740/fix-uri-resolution

= http: fix relative URI resolution, fixes #740