Add Adapter interface for socket.io > 1.0

Updates are still needed for the tests and demos