My first revision of the packet queue.
Since it's not being called, it's not doing much. I'm just
commiting because the new, "remove" function has prompted me to
turn it into a tree.