fix overtyping socket error introduced by --live-replay

the guard against sock.recv(1024) is a bit of a superstitious fix
in the sense that I don't understand well what's going on here;
I just mitigate the symptoms.