Clean cookie and deal with io.EOF

* Read started returning data && io.EOF.
* Added code to purge old cookies in case of corruption
*