Changed NegotitatePacket setflags methods to use public getflags