Correcting socketio handshake management and different timeouts.
Merge pull request #131 from reda-alaoui/master

Correcting socketio handshake management and different timeouts.