Add socket.io.
Fix 'indexOf' calls.
Merge branch `rewrite` into `master`.
Fix cluster/add nodes.
Add nodes to cluster/update quorum when necessary.
Copy acceptor IDs/addresses to new nodes.
Merge branch `rewrite` into `master`.