Validate --middleware option.
Idiomatic callback name: next().
Add inspect middleware to readme.