follow http redirects disucssed in #51