Extend the tough-cookie memstore to provide toString and fromString