fix some http-proxy issues