fix HTTP PUT with data
Merge pull request #151 from cbatson/master

fix HTTP PUT with data - thanks