[+] clean up and extend socket io api
Merge pull request #15 from tikalk/extend-socket-io-api

[+] clean up and extend socket io api