-- implement httpsUrlConnection (not working)