add sequence number to each packet