Logstreamer gzip (#648): work in progress

This is just a work in progress so the design for reading gzipped logfiles (#648) can be discussed more easily.

Expect this to be rebased. I'll update the title and description when it is ready to be reviewed.