if (debug) log_d("header_list_next: \"%.*s\"", l, s);
static const char *header_list_next(const char *s, size_t *lp){	int inquotedstring;	char c, lastc;	size_t l;	while (*s == ',' || *s == ' ')		++s;	l = 0;	lastc = 0;	inquotedstring = 0;	while ((c = s[l]) != 0) {		if (c == ',' && inquotedstring == 0)			break;		if (c == '"' && (inquotedstring == 0 || lastc != '\\'))			inquotedstring = inquotedstring == 0;		lastc = c;		++l;	}	while (l > 0 && s[l - 1] == ' ')		--l;	if (debug)		log_d("header_list_next: \"%.*s\"", l, s);	*lp = l;	return s;}