Added first pass at cookie parser