[Curl] Add abstraction layer of cookie jar implementation for Curl port