curl proxy upgrade