a middleware of koa, for post/put data validate and bind.