change socket param to object
Merge branch 'master' of github.com:tmger/node-xos