Changed package verify replacement logic.
Changed default to https.
Fixed bug: Copy past error causes use of unknown var error.