Made scheme part optional to allow parsing of a URI reference