Added HTTP/HTTPS check