Added http proxy and configuration file support