peer/pool: improve handleInv. improve addPeer.