Allow to filter on message type and some other small improvements
Thanks for this nice tool. This MR would
- give some help when started without arguments
- skip initial junk at the start of the file. At least on my device buffers are often full so dumping will leave some junk at the start
- allow to filter on
request
,response
,indication
While at that I added some g_autoptr
.