Fix: script loading over https.  Resolves #280.
Fix: script loading over https.  Resolves #280.

https responses may fire 'close' instead of 'end', so we need to listen
on both.

See: https://github.com/joyent/node/issues/728

danieljoppi/jsdom,medikoo/jsdom,lcstore/jsdom,selam/jsdom,substack/jsdom,mbostock/jsdom,brianmcd/cloudbrowser-jsdom,janusnic/jsdom,sebmck/jsdom,fiftin/jsdom,evanlucas/jsdom,substack/jsdom,tmpvar/jsdom,beni55/jsdom,medikoo/jsdom,sebmck/jsdom,danieljoppi/jsdom,evanlucas/jsdom,snuggs/jsdom,vestineo/jsdom,susaing/jsdom,kesla/jsdom,nicolashenry/jsdom,nicolashenry/jsdom,godmar/jsdom,brianmcd/cloudbrowser-jsdom,AVGP/jsdom,isaacs/jsdom,aduyng/jsdom,mzgol/jsdom,vestineo/jsdom,kesla/jsdom,kevinold/jsdom,mbostock/jsdom,mbostock/jsdom,Joris-van-der-Wel/jsdom,janusnic/jsdom,iizukanao/jsdom,crealogix/jsdom,janusnic/jsdom,szarouski/jsdom,papandreou/jsdom,jeffcarp/jsdom,kittens/jsdom,cpojer/jsdom,isaacs/jsdom,kesla/jsdom,snuggs/jsdom,danieljoppi/jsdom,sirbrillig/jsdom,susaing/jsdom,aduyng/jsdom,selam/jsdom,godmar/jsdom,jeffcarp/jsdom,vestineo/jsdom,Sebmaster/jsdom,AshCoolman/jsdom,szarouski/jsdom,kittens/jsdom,Ye-Yong-Chi/jsdom,mzgol/jsdom,zaucy/jsdom,Zirro/jsdom,AshCoolman/jsdom,concord-consortium/jsdom,dexteryy/jsdom-nogyp,singlebrook/linkck,Sebmaster/jsdom,zaucy/jsdom,fiftin/jsdom,beni55/jsdom,sirbrillig/jsdom,aduyng/jsdom,Ye-Yong-Chi/jsdom,evdevgit/jsdom,cpojer/jsdom,Joris-van-der-Wel/jsdom,szarouski/jsdom,Joris-van-der-Wel/jsdom,zaucy/jsdom,lcstore/jsdom,jeffcarp/jsdom,tmpvar/jsdom,evdevgit/jsdom,robertknight/jsdom,darobin/jsdom,medikoo/jsdom,dexteryy/jsdom-nogyp,susaing/jsdom,selam/jsdom,robertknight/jsdom,Sebmaster/jsdom,lcstore/jsdom,fiftin/jsdom,beni55/jsdom,Zirro/jsdom,kevinold/jsdom,kangax/jsdom,cpojer/jsdom,Ye-Yong-Chi/jsdom,AVGP/jsdom,crealogix/jsdom,sebmck/jsdom,kangax/jsdom,kittens/jsdom,nicolashenry/jsdom,evanlucas/jsdom,darobin/jsdom,AshCoolman/jsdom,kevinold/jsdom,papandreou/jsdom,darobin/jsdom,mzgol/jsdom,sirbrillig/jsdom,concord-consortium/jsdom,iizukanao/jsdom,evdevgit/jsdom,robertknight/jsdom