configuring to work with http proxy