Add compressed stream reader that auto-detects the compression method

Currently supports GZIP, BZIP2, LZ4, LZO and XZ formats