Proxy config support

Setting the environment variable often doesn’t work so add it in
properly for the agent
Merge pull request #89 from serverdensity/proxy

Proxy config support