Ghetto fix for issue #22

- Fixes UTF-8 Encoding issue if it detects the encoding on the headers
is set to something else. Might not be the greatest solution, but it
seams to work so far. Issue #22
Merge pull request #24 from FreedomCoder/master

Ghetto fix for issue #22