Fix npm test script in package.json and a leftover syntax issue from refactor
Use sio-client@~1.2.1
Use sails@~0.11.0 for tests.