request_fulluri parameter for proxie gives error for https addresses

Some proxy servers can't handle requests to https when 'request_fulluri' is enabled for stream context, resulting in error 500 (composer diagnose won't find this porblem, cause it gets http address).
This should fix this problem by setting environment var to disable usage of this parameter (i suppose this way it's better than making extra config parameter in Composer itself).