grumble: fix cryptstate resync issues (and simplify Server.handleUdpPacket()).