handle http redirects
release 0.3.7