tool_operate: Let curl handle cleanup take place in config_free()
tool_operate: Added support for performing URL specific operations