Double check EOF when parsing so that streams don't hang
Merge pull request #15 from jchamberlain/master

Double check EOF when parsing so that streams don't hang