Update haste.rb

add HTTPS capability 
simplify ssl support
Merge pull request #12 from sairez/master

add ability to use SSL to contact haste-server