Set charset in 'content-type' header for POST requests.  Fixes #4741.
Merge pull request #350 from shadlaws/fix_4741

Set charset in 'content-type' header for POST requests.  Fixes #4741.