Track the stream offset during parsing.
Merge pull request #16 from rubenv/offset-tracking

Track the stream offset during parsing.