Proxy support

Added two parameters: proxy and no_proxy
This has been tested on redhat 6 and Ubuntu 12.04