Revert "Merge pull request #886 from dmitryilyin/mco-curl"

This reverts commit f98ba64b39350669616e90bb01061e33cb61635a, reversing
changes made to 8ef5a49eb47d7cea1e1757dedceeeb97cf8d33d8.