Better diagnistics for MalformedUrlException