newSessionPolicy
Creates a new session #SoupHSTSPolicy with the given attributes.
A session policy is a policy that is valid during the lifetime of the class@HSTSEnforcer it is added to. Contrary to regular policies, it has no expiration date and is not stored in persistent enforcers. These policies are useful for user-agent to load their own or user-defined rules.
Return
a new #SoupHSTSPolicy.
Parameters
domain
policy domain or hostname
includeSubdomains
true if the policy applies on sub domains