http://www.multiburst.net/sometime-php/2010/05/net-err-empty-response/