title: HTTPS request with Curl Failed: 0 but no response in Curl PHP
body: <p>I'm trying to make a soap request with HTTPS link.
  I get Curl Failed: 0 (that means no error) However, I received a empty string. </p>
  
  <pre><code>$url = $soapUrl;
  
  $soap_do = curl_init();
  set_time_limit(0);
  curl_setopt($soap_do, CURLOPT_URL,            $url);
  curl_setopt($soap_do, CURLOPT_AUTOREFERER,    true);
  curl_setopt($soap_do, CURLOPT_MAXREDIRS,      10);
  curl_setopt($soap_do, CURLOPT_FOLLOWLOCATION, true);
  curl_setopt($soap_do, CURLOPT_RETURNTRANSFER, true );
  curl_setopt($soap_do, CURLOPT_SSL_VERIFYPEER, true);
  curl_setopt($soap_do, CURLOPT_SSL_VERIFYHOST, 2);
  curl_setopt($soap_do, CURLOPT_POST,           true );
  curl_setopt($soap_do, CURLOPT_POSTFIELDS,     $xml_post_string);
  curl_setopt($soap_do, CURLOPT_VERBOSE,        TRUE);
  curl_setopt($soap_do, CURLOPT_HTTPHEADER,     $headers);
  
  $response = curl_exec($soap_do);
  $error    = curl_error($soap_do);
  
  var_dump($response);
  
  echo "Curl Failed: " . curl_errno($soap_do), "&lt;br/&gt;";
  echo curl_error($soap_do);
  </code></pre>
  
  <p>Any problem with my code?</p>