let the build with external libs work

not sure what all that cruft was about; where are the comments!?
Fix a rare crash with unitialized CURLOPT_HTTPHEADER