atproto utils for zig zat.dev

Harden identity resolution for network safety #7

Closed zat.dev
Closed opened by zat.dev

From comparing zat with atmos: identity resolution should use an SSRF-aware path for user-controlled handles and did:web hosts. Scope: refuse private, loopback, link-local, and unspecified IPs where possible; enforce small response limits for DID documents and .well-known handle responses; preserve clear error names; add focused tests around non-routable address rejection and body limits.