Fix cli handling of server announcements.

Fixes #120.