Added a simple concurrency test.
Introduce per-thread storage for cookie lists.
Merge pull request #11 from daghf/3.0

Per-thread storage for cookie lists + test case