title: PHP's SoapClient times out after twice the time of default_socket_timeout when fetching WSDL
body: <p>I'm using PHP's built-in SoapClient, and it needs to time out after 5 seconds. Therefore I'm using <code>ini_set("default_socket_timeout", 5);</code>. However, when fetching the WSDL it times out after 10 seconds instead. If I change the default socket timeout to i.e. 1 second it times out after 2 and so on. The actual soap calls time out after 5 seconds as expected though.</p>
  
  <p>Is this a bug in PHP, expected behaviour or is there some additional setting I need to change? Using PHP 5.6.28.</p>
  
  <p>Thanks!</p>