shadownaemon: read of size 0 mean eof

or at least an error, so break and do the error handling. This avoids
running in endless loops when the connection breaks right in the middle
of the transfer.

Signed-off-by: Sven Nierlein <sven@nierlein.de>