log agent ip with xff ip
set default send/recv timeouts to unlimited. fix bug in post handling. add test for post