Added test for unicode based cookie dumping
Vastly simplified cookie parsing to work better with real-world situations