8fd08aa56d
Add server-side AUTH challenge/response handling per NIP-42 spec: - RelaySession generates a unique challenge per connection and tracks authenticated pubkeys (multiple users can auth on one session) - NostrServer gains relayUrl and requireAuth parameters; when requireAuth is true, EVENT/REQ/COUNT are rejected with auth-required: prefix - AUTH handler validates kind 22242, created_at within 10 min, challenge and relay tag matching - AuthCmd now accepts Event (not just RelayAuthEvent) so the server can gracefully reject wrong-kind auth attempts - 11 new tests covering auth success, wrong challenge/relay/kind/timestamp, multi-user auth, and requireAuth gating https://claude.ai/code/session_017vdjbdxdYK1oJMH66koVZE