Serializes this in the format used by the Set-Cookie header.
i.e. for sending a cookie from a [class@Server] to a client.
a Cookie
the header