relaced custom CURL with stock version
implemented clean fix for changed errorline API in TCL