add cookies support

added cookies read and set
also need to implement cookies discard