Bring proxy handling in line with Composer2
Bring proxy handling in line with Composer2

johnstevenson/getcomposer.org,composer/getcomposer.org,johnstevenson/getcomposer.org,johnstevenson/getcomposer.org,composer/getcomposer.org,composer/getcomposer.org