refactor http requests code; fix redirects handling for baseurl
delete reply once
a cleanup
Merge pull request #134 from scrapinghub/http-client

http client