A few improvements, including broader https cert support, etc

Hi, I was starting to use curl-oauth and ran in to a few problems.  Here are a few commits that made it work better for me.  Thanks!