isHTTPURL and isHTTPSURL should return False when url scheme is nil.