Oops, I misunderstood the syntax here
parser::parse_chunk now takes const char* instead of void*