WIP client: min client for discovery

Latest push has the bare minimum.