Fixed socket.io bind in register.js.