LAST_FRAGMENT
buf[0] = htonl(size | LAST_FRAGMENT);
last_one = (record_size & LAST_FRAGMENT) != 0;
record_size &= LAST_FRAGMENT - 1;