I think this could be solved with a `#define HPE_CB_unknown_method HPE_INVALID_METHOD` at top