THat previous commit I was talking about had this call -

AppLayerParserAlprotoSupportsTxs(uint16_t alprot).

Which returned a call if an alproto supported txs or not.  The above location you pointed at all had this call, before I again went back to hardcoded http.