Added support for proper serialization of entry headers.

- Serialization of entry headers.
- Fixed bug with uninitialized values for sizes_[] in BufferManager.
- Fixed bug in fixed-length integer decoding methods.
- Fixed bug in behavior of server with entries having invalid CRC32 checksums.