Cache 302s and 308s with the right response headers.

Closes https://github.com/square/okhttp/issues/1158