converting curl cookie list to cookielib-cookiejar