more fixes in resty.core.ctx.