Also, check that the opcode and response flag are correct when parsing responses. When handling a resolve call, ensure no errors occured.