2.0.0 ported from koa-session
  switched to base64 encode cookies
  updated tests
  fix typos