void OnTestReq(TestReq req)
 {
     new TestResp {
         Serial = req.Serial
     }.InResponseOf(req).Post();
 }
 void OnTestReq(TestReq e)
 {
     if (e.Serial != ++txSerial)
     {
         Console.WriteLine("ERROR tx expected {0} but {1}",
             txSerial, e.Serial);
         Environment.Exit(1);
     }
 }