require socket.io and create basic callback