Support http proxy better

Support http proxy with out change your original interface, that if it was set in environment variable, by default it will connect through the proxy.

Hope you like it :smile: