Fix a bug where user-agents could specify their own session ID.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge pull request #355 from Acidity/feature/fixCookies

Fix a bug where user-agents could specify their own session ID.