Default to transport 'localhost' if 'localhost' or '127.0.0.1' is used exclusively on the API object.