Added support for custom curl options in TransportCurl

Hi,
I extended TransportCurl to support custom options for curl.

Handy for http authentication.