add tcp_keepalive config for tcp option SO_KEEPALIVE