updated skynet.js to use https