@deprecated Please see https://github.com/heroku/ex_uri for a more up to date version.