Fix parsing options templates.
Fix parsing options templates.

- Additionally, it seems the flow_records header field refers to the number
  of flow records across all flowsets, _not_ the number of flowsets so change
  the records array to read until EOF.

tinglinux/logstash-kafka,tinglinux/logstash-kafka,Aloomaio/logstash-kafka,opentable/logstash-kafka,opentable/logstash-kafka,joekiller/logstash-kafka,joekiller/logstash-kafka,Aloomaio/logstash-kafka