changing type of response in CURLInfoResponse dedicated to list, to be
able to release allocated memory of CURLSList.
updating unit script as well.