Make proto_config_new() use this info instead of supplied size. Thanks to Alexander V. Chernikov for the patch.