Actually working c_cookie class

Don't show this to someone who actually codes in php, they will yell at
me.