[sr-dev] [kamailio/kamailio] tcp: correct queued length checking (#1376)