add weird hacky util that looks for lengths in packets, recursively, until it finds the start of the packet