add packed_buffer_queue_length and packed_buffer_length to marshalling code
measure network traffic by opcode