Added URI parse exception to report incorrect scheme's

To be compatible with the old way of reporting errors in the URI, we need to throw an exception when the scheme contains invalid characters. Now it was only reported on the .getURI, but it should be at the creation.