remote.get: only read when there is something to read
remote.get: only read when there is something to read

Reading 0 bytes is no problem, unless it is the last bit, in which case
we read our flush/prompt, which means we hang when looking for it
afterwards.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb