fix v3/v4 mismatch
fix encoding of miss_send_len non-special values