add ability to use SSL to contact haste-server