Merge pull request #8 from budjb/chunked

Added chunkSize option.
Added gzip content-encoding.
Merge pull request #9 from budjb/gzip

Added gzip content-encoding.