added protocol - packet len before packet