Fix URL encoding issues

I realized that default URI from Java doesn't handle all the cases well, so I think I makes sense to use more robust one from commons http-client.

Please let me know if that works well for you too :)