[fix] valid https checking