support koa. Fixes #5