Fixed incorrect base URL protocol detection.