adding http proxy support