Add monotonic_offset to the ServerStatistics message

Send a base level of traffic between all nodes which should be
forwarding messages between each other.  This helps replay, and also
gives us enough information to estimate the monotonic clock offset
between nodes.  That lets us sort out latencies between nodes.

Change-Id: I9b10243aca2444e201d0d8c0a551e29560d0e147
diff --git a/aos/network/sctp_lib.cc b/aos/network/sctp_lib.cc
index 1ed816b..5af994e 100644
--- a/aos/network/sctp_lib.cc
+++ b/aos/network/sctp_lib.cc
@@ -175,9 +175,9 @@
   memset(&inmessage, 0, sizeof(struct msghdr));
 
   aos::unique_c_ptr<Message> result(
-      reinterpret_cast<Message *>(malloc(sizeof(Message) + max_size)));
+      reinterpret_cast<Message *>(malloc(sizeof(Message) + max_size + 1)));
 
-  iov.iov_len = max_size;
+  iov.iov_len = max_size + 1;
   iov.iov_base = result->mutable_data();
 
   inmessage.msg_iov = &iov;
@@ -193,6 +193,7 @@
   PCHECK((size = recvmsg(fd, &inmessage, 0)) > 0);
 
   result->size = size;
+  CHECK_LE(size, max_size) << ": Message overflowed buffer.";
 
   if ((MSG_NOTIFICATION & inmessage.msg_flags)) {
     result->message_type = Message::kNotification;