fixed RewindBeforeReadInputStream to end() when a read() operation has read past the end of the stream
Merge branch 'master' of git://github.com/digitaledgeit/php-stream