- added more sanity checks and fixed the exception messages
- added more sanity checks and fixed the exception messages

ninemoreminutes/pycurl,jcharum/pycurl,ninemoreminutes/pycurl,m13253/pycurl-python3,ninemoreminutes/pycurl,jcharum/pycurl,m13253/pycurl-python3,jcharum/pycurl,m13253/pycurl-python3,ninemoreminutes/pycurl