add __headers_len member and update parser (test ok)