Composer already has a battle-tested HTTP client built in. What about leveraging it? That'd make the experience more consistent with composer itself.