config_getproto
if (config_getproto(env, imsg) != 0)
int config_getproto(struct relayd *, struct imsg *);