[curl] Added cache manager files to the build, and enable it.