Make the ob-elasticsearch mode accept and send utf-8

This patch removes the possibility to keep the header if the response is successful. However, it fixes the same problem we had in es-mode where utf-8 characters where not represented properly.

Someone should test this before we merge it. I might have forgotten some requires.