- use
string_decoder
module from npm
- check encoding for old streams1
- support node.js < 0.10.6
- allow true as an option
- bump bytes
- fix case when length=null
- be less strict on state.encoding check
- add err.statusCode and err.type
- allow for encoding option to be true
- pause the stream instead of dumping on error
- throw if the stream's encoding is set
- dont support streams1, throw if dev set encoding
- rename
expected
option to length
- dump stream on bad headers
- listen to events after defining received and buffers