Added text/plain encoding handling by default

- The old version of the client handled this out of the box
- Added a test to ensure it works