Replaced curl commands with Cake's HttpSocket

cURL isn't available on Google App Engine, but HttpSocket works great.