make cookie module shared

I don't see why it should be client only, and it would be nice to have this easy to use abstraction layer on the server

test:
http://a.pomf.se/bphqgs.png