Encode uris before any request