Implement #2- Pass the offending stream to error events and expose reader/writer interface
Merge pull request #3 from iarna/master

Implement #2- Pass the offending stream to error events and expose reader/writer interface