Try to get proxy info from environment if not explicitly provided
Provide basic authentication on proxy