Consolidate code into-xt_request_find_match