Fail early and with useful message if user omits scheme in ES server

URL. Closes #1069.
Why was this added? serverUrl is not needed outside the scope of the if.