make destructor of RequestOrResponse virtual