lib/param: Add .flags to max/min protocol to match s3