junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/Cookies.java
public static Cookie secureCookie(String name, String value, String domain, String path, Long expires, Long maxAge) {
		return Cookies.cookie(name, value, domain, path, expires, maxAge, true, true);
	}
public static Cookie secureCookie(String name, String value, String domain, String path, Long expires, Long maxAge) {
		return Cookies.cookie(name, value, domain, path, expires, maxAge, true, true);
	}
Create a secured cookie, it means that cookie will have
secure flag and http only flag set to true.

@param name Cookie name.
@param value Cookie value.
@param domain Cookie domain.
@param path Cookie path.
@param expires Cookie expires value.
@param maxAge Cookie max age.
@return Cookie.
@throws NullPointerException if name or value is null.
@throws IllegalArgumentException if name is empty or blank.