Delay overwriting request.url until just prior to calling prepare.

This is necessary to avoid request.url being set to `None` when a request
results in an HTTP exception and is later retried.