Replaced Zend HTTP client with PHP curl