tool_operate: Moved libcurl information gathering to tool_main