Doc enhancement.

- Added "Encryption/Compression" section to "Building Client Libraries".
- Reworded "Sampling" description.