if(handshake_status!=2)
throw sequence_error("handshaking not done");
unsigned size = protocol.assemble(pkt, out_buf, buf_size);
if(handshake_status!=2)
throw sequence_error("handshaking not done");
unsigned size = protocol.assemble(pkt, out_buf, buf_size);