Replaced curl commands with Cake's HttpSocket

cURL isn't available on Google App Engine, but HttpSocket works great, and uses a more general way of posting.