Return if the stream is nonblocking

If the stream is nonblocking we actually get this invalid packet and
should just stop.
Check for EOF packet and return
Merge pull request #42 from noplay/non_blocking_connections

Return if the stream is nonblocking