added stream options
pass encoding through stream
fix: don't mangle the first/last lines of a subsequent chunks
added comment to explain buffering
better tests with Mocha
added license, closes #10