added hooks for compression in token.c
6 files changed