WIP: Cookie creation by server; TODO: create_cookie()