Use a URI to parse the input of the discoserver text (eventually we
might choose the discovery provider based on the scheme).