(kind of) hotfrix for input streams to fix an edge case from new Nokias
Merge pull request #5 from dimagi/bufferedinputhotfix

(kind of) hotfrix for input streams to fix an edge case from new Nokias