* Move common functions into plurklib.
* Support session cookie.