Fix message body decoding.
Silence elasticsearch with context manager.
Refactor.
Merge pull request #14 from serathius/master

Refactor