plugins, tools: update for get_protocols() return value change