To help assist with the detection of incorrect return codes, as per commits ee23d13a, 33b8960d and aba98991, updated the operate based functions to return CURLcode error codes.