Merge pull request #5 from crash2burn/master

Fixed invalid bytesRemaining during parse.
[dist] 0.0.1
[minor] Automatically set the correct encoding of the source stream if it's not set
no longer decrementing bytesRemaining at the top of the parse loop