Fix from Tom Uijldert: scan TPI's to get proper WTP packet length and