The first solution to problems discussed in:
https://github.com/bungle/lua-resty-session/pull/4
Merge remote-tracking branch 'origin/master'