Miscellaneous cleanup
Add more logging, handle Ctrl-C in test server
Preliminary implementation of cookie parsing
More work on cookies mixin (still unfinished)
Fix some tests, and minor cookie bugs