now checkes for ssl files exsisting async and does http if not foudn