fix for https://github.com/elasticsearch/logstash-forwarder/issues/116