Fixes a regression in URL resolution

This fixes a regression which was introduced when rewriting parsing according to RFC 386.

This feature was quite useful for example when communicating with an API f.e. with a base URL of ``https://api.github.com/{?access_token}`` subsequent calls to ``->get()`` etc. did not need to specify the access token again.

I've made the fix for non-strict mode only.