Changed the code to make Cookie a trait / interface and make the impl private.  Also added an escape route method to get at the underlying object, which is an AnyRef.