Use curl instead of openssl

On my box, and maybe on travis VM, SSLv3 is no supported anymore by openssl
(1.0.1j)