Add hooks before the framework starts

Description

I need to add hooks before the framework running to modify koa’s app object .

Examples

when you use x-forwarded-host is real host , you need enable proxy and set ctx.app.proxy = true in koa object.