Trying to fix bug in socket.io on sys.httpPort
Fixed error in registering Sockets