use curb instead of httparty and friends