bug fix for issue #1, memory leak for line-delimited, gzip'd, chunked transfer encoded streams
added support for 301 redirects