Added lz compression to websockets api. Up to 70% smaller data