Refactored CURL invocation to accomodate SL6 different proxy handling.