Allow overriding response charset for doGet and doPost

Re https://forums.zotero.org/discussion/33854/encoding-problem-with-connectors/