Encode uris

Fix for https://github.com/geemus/excon/issues/328