A site id derived from a request host, or null when the host names no site.
The PORT is part of the identity only when it is not the default for the scheme. Two dev servers
on one box are two sites; example.com and example.com:443 are one, and treating them as two
would split a site's data the first time a proxy rewrote the URL.
Parameters
host: string
url.host, so a port is already present when there is one
protocol: string = 'https:'
Returns string|null
a lowercase id safe as a Durable Object name, or null for a local host
A site id derived from a request host, or null when the host names no site.
The PORT is part of the identity only when it is not the default for the scheme. Two dev servers on one box are two sites;
example.comandexample.com:443are one, and treating them as two would split a site's data the first time a proxy rewrote the URL.