Add ability to use custom libcurl options.

See readme for example.