'Extract settings from a config object'

def _extract_settings(self, config):

    settings = {'host': config.get('sd_backend_host', DEFAULT_ZK_HOST), 'port': int(config.get('sd_backend_port', DEFAULT_ZK_PORT))}
    return settings
