Store the headers in cache. Return headers only when there was any res.

Store the returned headers along with the returned data of the body so that any call to CloudApi._get, with or without cache, returns the response headers. Call the callback with res.headers only if there was a response from the remote endpoint.