add spec tests for http_proxy fixes