fix tests
add support for http proxy