cookie

fun HttpMessageBuilder.cookie(    name: String,     value: String,     maxAge: Int = 0,     expires: GMTDate? = null,     domain: String? = null,     path: String? = null,     secure: Boolean = false,     httpOnly: Boolean = false,     extensions: Map<String, String?> = emptyMap())

Appends a single header of key with a specific value if the value is not null.