Introduced support for cookie sessions; closes #169
Merge remote-tracking branch 'origin/dev'