t5551: handle HTTP/2 when checking curl trace