Copy test files from socket.io.
Add and pass socket.io base tests.
Add tests of dynamic namespaces.