Adding possibilty to add additional curl options
Make pycurl thread safe