Update stream status when it's consumed (fixes issue #1)

Stream does not change it's status when consumed. This causes timeout when using with AFNetworking because number of readBytes returned is 0 but the stream status is still open, so AFNetworking reads 0 bytes until it times out.