private static void setMaxAge(CookieBuilder builder, String value) {
        try {
            builder.maxAge(Math.max(Long.parseLong(value), 0L));
        } catch (NumberFormatException e1) {
            // ignore failure to parse -> treat as session cookie
        }
    }
Parse and store a key-value pair. First one is considered to be the
cookie name/value. Unknown attribute names are silently discarded.

@param keyStart
           where the key starts in the header
@param keyEnd
           where the key ends in the header
@param valueStart
           where the value starts in the header
@param valueEnd
           where the value ends in the header
core/src/main/java/com/linecorp/armeria/common/ClientCookieDecoder.java