- add more sophisticated cookie parser