Revert "The flag should contain more info. The encryption method / compress shouldn't set by config.json in server side."

This reverts commit 6eabee1d47db499eae785bb81599779bbbfe0cc6.