add support for socket.io 1.0 version
move fixes to work generally for full library, not only specific socket
Merge branch 'develop' into feature/socket-1.0-support
standarize code style
Merge pull request #12 from psychowico/feature/socket-1.0-support

add support for socket.io 1.0 version