Make transferEncoding optional

Thanks for this module! I would like to use it but need to be able to use no encoding.