Some twitter fixes for your curlish oauth1 pull request

Hi. I wanted to use this and it was kinda broken, probably because of twitter server side changes. Here's my fixes, but I'm not completely sure if they are compliant with the specs, or if it's something that will only work with twitter.

BTW, your branch is a few commits behind master, but still merges cleanly. This PR doesn't include that merge.