Add timestamp_ms and type Custom to protobuf.

This implements version 0.0.4 of the protobuf-based exchange format.

Change-Id: Ib5b5ea85e00b647877031d2b05ed23352ac0c598