added missing chunks and pending chunks to start supporting a packetloss mechanism