Adding public API for cookies.

We still need to wire this into the HTTP connection classes.
  http://b/issue?id=1608781
5 files changed