Refactor Huffman codec, and add support for one-symbol encoding and better table compression