Detect charset encoding in Content-Type value for url encode
Improved regular expression.
Merge branch 'pr/211'
Fix whitespace, update changelog