testing pull again

length field of the header should be the size of the whole packet but it only works when the value is the size of payload