[Network] Fixed ListenThread giving the wrong peerId for new connections.