make HTTPclient check for SSL support