Update BaseUrl.php

Need to handle urls like `//cdn.net/`