Set socket encoding to UTF-8
Plugin for logging to elasticsearch