Convert header.decoded to string to prevent return of nil

https://github.com/elasticsearch/logstash/pull/1339