Pinging server using https