Fix cookie

only set the cookie when sessin was modified. fixed #2 
* use `buffer-crc32` to gen the hash
* only when session was changed, reset cookie and session