Check if HTTP or HTTPS