[Trivial] Remove duplicate work
Move the cookie serialization code into cookie
Some cosmetic changes.
Change SSLPeerValidationMode into an options enum.

This enables more fine grained control over the validation process, so that for example a valid and trusted certificate is required, but without validating the peer name.
Merge pull request #690 from BoapNet/fix-cookies2

[Trivial] Small refactoring
Adjust signature of Cookie.serialize. See #690.
Fix infinite loop for URLRouter without any registered routes. Fixes #691.
Remove workaround for old compiler issue (2443)
Allow usage of const DictionaryList and reduce code size
Merge pull request #693 from BoapNet/const-dictionarylist

Const opApply for DictionaryList