fix: address PR review feedback for get_did
- Add DID format validation to prevent path traversal into PLC URL
- Trim trailing slash from plc_directory_url before constructing path
- Log truncated raw document string when DB JSON is malformed
- Log truncated PLC response body on non-success status
- Add tracing::debug at PLC fallback and 404 branch
- Fix Processes/Returns header comments; add caching note
- Add 6 new tests: invalid DID, malformed DB JSON, network failure,
non-404 4xx from PLC, invalid JSON body from PLC, trailing-slash URL