I was thinking that users could pass https://host:port or host:port.  In the latter case the scheme is empty.