Don't encode and retry upon rescuing URI::InvalidURIError

This behaviour is prone to recursion, and the OBIX specification states
that 'href' attribute should be a valid URI.