Although I have no idea, why this worked for so long and suddenly stopped working, adding
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
seemed to do the trick.
(see
http://haacked.com/archive/2004/05/15/http-web-request-expect-100-continue.aspx
)
