add a setting for node v0.10
enable to pass values to a next middleware