adding tcp_keepalive parameter

Adds a tcp_keepalive parameter which configures tcp listen option for enabling TCP keepalive.