Creates a new cookie optionally setting the name and value.
By default the value of httpOnly will be set to true.
httpOnly
true