Properly enable compression on client