Fixed cookie parser for RFC compatibility

```
	var parseCookieVal = function (val) {
		val = String(val);
		if (val.indexOf('"') === 0 && val.substr(-1) === '"')
			val = val.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
		return decodeURIComponent(val.replace(/\+/g, ' '));
	};
```