Sets the Key to the given Value

        Parameters:
            key (str): Key to set
            value (Payload): Value to set, It will be encoded by flags
            flags (int): Flags to set with value

def set(self, key, value, *, flags=None):
        """Sets the Key to the given Value

        Parameters:
            key (str): Key to set
            value (Payload): Value to set, It will be encoded by flags
            flags (int): Flags to set with value
        """
        self.append({
            "Verb": "set",
            "Key": key,
            "Value": encode_value(value, flags, base64=True).decode("utf-8"),
            "Flags": flags
        })
        return self