server: pack over-the-wire structs

Signed-off-by: Jens Axboe <axboe@fb.com>