Update haste.rb

add https ability