set IP packet len during marshalling

discovered while testing