fix(http): preserve config object when resolving from cache

Closes #9004
May it be that the Travis CI is failing because cachedResp is not returned any more here?