Updating packetLength to clear out all properties of the WSPacketLength object before using it.