Adding Bool encoding/decoding, signed Int encoding/decoding, and VersionMessage encoding.