Raise URI.Error on malformed URIs, closes #2034
Do not defined a URI.Error, simply raise ArgumentError
Remove unecessary exceptions