Added https scheme check