Just making 100% sure here. On CentOS (RHEL), you should have the curl-7.15.5 rpm and not libcurl. Is that correct? On the RHEL installs I have, curl-7.15.5-9.el5.rpm is the current one. I used to have a bunch of debug code to see what values were returned etc., but once things got stable - I removed for cleanliness.