Add more functions for client to work with cookies.

This is for #155. Please CR.
Now that the headers implement Deref to access their wrapped types, you don't need to pattern match here. self.iter() should just work.