should_close(const char *header, int hlen) {
    const char	*v;
    int		vlen = 0;

    if (NULL != (v = agoo_con_header_value(header, hlen, "Connection", &vlen))) {
	return (5 == vlen && 0 == strncasecmp("Close", v, 5));
    }
    return false;
}
should_close(const char *header, int hlen) {
    const char	*v;
    int		vlen = 0;

    if (NULL != (v = agoo_con_header_value(header, hlen, "Connection", &vlen))) {
	return (5 == vlen && 0 == strncasecmp("Close", v, 5));
    }
    return false;
}