Set a cookie using the same API on both the client and the server.
github.com/spikebrehm/set-cookie
spikebrehm/set-cookie