usage of setopt function in pycurl module