[Socketio] refactor socektio services code
Merge pull request #2 from faridlab/master

[Socketio] refactor socektio services code