Issue #9 - Fix InputStreamReader's read() value check