Try to get proxy info from environment if not explicitly provided

It is common under Linux to configure proxy through an environment variable called "http_proxy"

This PR try to get proxy from environment if not explicitly provided in connect options.