defensively added URI parsing everywhere I use RestClient