Support encoding in Content-type

Content-Type:application/json; charset=utf-8
Merge pull request #3 from maletor/patch-2

Support encoding in Content-type