Fix recvall() for multiple connections

Fix a potential bug introduced in dcd9ad0 because the code was originally written for single shot and not reuse on different connections. I'm still less than happy with the network code; it needs another rewrite.