curl custom headers and full body response

I need this for some "special" headers sent to a payment gateway. The "Expect:" header sent by default in phalcon breakes the connection. Also the response is shortened by phalcon on the curl header size (curl bug). I need the possibility to skip the substr.