Fix tests
Always clear git env vars
Clean up git env vars consistently
Clear up github env everywhere it is used
added no_proxy handler - fixes #1318

- handle no_proxy directive when building stream context
- using CIDR matching from Zend library
- uses parts of code provided courtesy of @hoffman
fix minor typo