Better check of https