Support for absolute URLs in HTTP requests.

Props to @rodsenra for the original fix at #248
Merge pull request #253 from untitaker/absolute_urls

Support for absolute URLs in HTTP requests (v2)