Add wrap-head middleware, disabled by default
Fix tests for content-type
Add wrap-resource middleware
Refactor options into structured config map
Add api-defaults config map