Added support for passing arbitrary options to curl, e.g. cookie values

Trivial additions for increased flexibility