Updated to work when not using a proxy.

The proxy support added does not work when you are not using a proxy. Modifications:

* updated the "proxy_password" variable to default to the empty string;
* fixed issue where the variable "uri" was referenced when it should be "url".