Update index.js

Add code to set sessionSID by client.
In client side call the server with sessionSid parameter
var socket = io.connect('127.0.0.1', {port: 3001, query: 'sessionID='+current_sid});