proxy httpclient parameters and add keepalive option