update socket.io to 1.x
shorten connection handler
Merge pull request #99 from ayan4m1/feature/socket.io

update socket.io to 1.x