session: remove reference to data from buffer when dequeue packet