Creates a cookie copy that only be transmitted over a secure HTTPS connection from the client.
public function withSecure(bool $secure = true) : static { $cookie = clone $this; $cookie->secure = $secure; return $cookie; }