Fix for issue 22

post() got multiple values for keyword argument 'connection error
Fix for issue 22 for get, put, delete, patch, and post

The previous patch only fixed it for get(), although the original issue
was about post(). This fixes is for the rest of the relevant requests.
Merge pull request #25 from garyrob/master

Fix for issue #22 for get, post, delete, put, and patch
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  Fix for issue 22 for get, put, delete, patch, and post
  Fix for issue 22