Rename master_name into service_name
discover_slave(): handle ConnectionError as well as ResponseError