Require ext-curl in composer.json

Since there is a hard coded dependency on curl, it should be required by composer.json.