API: add option "respond"

Could be used for example to perform minification.