Fixed socket.recv, no more lost data