Using CakePHP HttpSocket class instead exec curl in the system