The structures and functions within this module implement the MongoDB wire protocol: functions to assemble various commands into binary blobs that can be sent over the wire.