WIP socket layer rewrite.
A circular iterator.