Finally resolved the problem.
- Edit your wp-includes/http.php
- to include the php.
- Ran the scrip from my browser http://fionalouise.com.au/wp-includes/http.php
- Logged into Wordpress Admin console
- Imported the Demo content succefully
Script that I used can be found here on Github: https://gist.github.com/sudar/4945588
I will include the portion that I added to wp-include/http.php for clarity.
add_filter('http_request_args', 'bal_http_request_args', 100, 1);
function bal_http_request_args($r) //called on line 237
$r['timeout'] = 15;
add_action('http_api_curl', 'bal_http_api_curl', 100, 1);
function bal_http_api_curl($handle) //called on line 1315
curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 15 );
curl_setopt( $handle, CURLOPT_TIMEOUT, 15 );
This solution will work for anyone having cURL timeout errors
Thankyou for all your help and persistence.