fixed socket.io amd bug

replaced line 107 in dependency with ('object' === typeof module ?
module.exports : io, this);