pub fn domain_to_did_web(domain: &str) -> String
Convert a sanitized domain (with optional port) to a did:web DID.
Per the did:web spec, colons in the domain (from port numbers) are percent-encoded as %3A.
%3A