allow max_protocol and config file options