nitpick: maybe call this `validate_haproxy_stanza(stanza, stanza_type, service_name)` ?