composer/composer — pull request #224 by jalliot (2012-01-18 17:27:57+00:00)
Title: Moved proxy handling to a new class so that it can be reused in other parts of Composer

Hi guys,

Handling the HTTP proxy in FileDownloader is fine but not enough. With that change, I tried to handle it properly everywhere we are fetching something through HTTP.
The authorization part from FileDownloader might have to be moved to the new StreamContextFactory...

I didn't have the time to test everything so I may have forgot a few places...