Revert "Removed Curl dependency"

This reverts commit 48cd64eaed90d8cf77b4f7d375cfb55ded751662.