title: How to use TCP Keepalive with Endpoints in Twisted?
body: <p>Twisted does support <a href="https://twistedmatrix.com/documents/13.0.0/api/twisted.internet.tcp.Connection.html#setTcpKeepAlive" rel="noreferrer">TCP Keepalive</a>. But I can't find a simple way to set those on endpoints (client and server).</p>
  
  <p>What is the best current practice for doing this?</p>