Changed timeout to time.Duration instead of only milliseconds and Added no_proxy to Proxy func