title: composer-php can't use openssl via file_get_contents function
body: <p>I'm using php version 5.4.7 with <code>openssl</code> enabled( i checked this with extension_loaded function ). The thing is when i want to issue any command with composer like <code>self-update</code>, <code>install</code>, <code>update</code> i'm getting this error:</p>
  
  <pre><code>[Composer\Downloader\TransportException]                                                   
  The "https://getcomposer.org/version" file could not be downloaded: Failed to enable crypto                                                                                         
  failed to open stream: operation failed
  </code></pre>
  
  <p>for installing composer and using <code>curl -s https://getcomposer.org/installer | php</code> i'm getting this error :</p>
  
  <pre><code>Download failed: file_get_contents(): Failed to enable crypto
  file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failed
  The download failed repeatedly, aborting.
  </code></pre>
  
  <p>When i checked file_get_contents function with <code>https://google.com</code> or <code>https://facebook.com</code> there wasn't any error.</p>
  
  <p>Any help will be appreciated.</p>