Add option for enabling TCP keepalive