koa.js + ws.js helper for accessing cookies from a WebSocket connection