Given the number of times we don't check the output of tor_compress_new(), we should probably hard assert if it would return NULL, or check in all those places, or something?
I wonder if it would be best to tor_assert() on UNKNOWN_METHOD, or BUG(), and then return a non-NULL state. An edge case where we don't check state correctly before calling could easily turn into a DoS bug.