command/agent: Fixing compatibility with upstream Memberlist