Add non text keys. Fixed content length with Unicode.
Merge pull request #19 from stuart/feature/non_text_keys

Add non text keys. Fixed content length with Unicode.