http.client: support urls without protocols (in addition to strings).