Added support for http proxy