[code] add cookie support, remove nonce from posts datastructure