-Added total (-t) and sample rate (-s) options for header collection
- Updated header dump file to json encoded list of headers
Minor changes
- Added extra error checking
- Various updates
various improvments and updates to header recorder