Only http: protocol is supported, fail predictably for others.