Add debug option in CurlWrapper