Proxy https support

Add https support to proxy. If proxy target is using https, proxy will be also https.