Revert "replace raw curl to Guzzle"

This reverts commit d035fa26a97be8fe377ede5db7f0d1496fbdc1e0.