Convert the session dhandle list to a queue.

This is in preparation for adding a hash shortcut over the top.