I managed to figure it out.
I had to have the expectedReturnPacketTypeStr be the name/header of the message and then on the server side have a
connection.SendObject("Confirm", "Got It");
This way once the message was sent then it would look for the “Confirm”. Makes more sense now.