fixed require for socket.io