added mocha.opts
added socket.io wrapper