function configureSocket (socket) {
  socket.setKeepAlive(true)
  return socket
}
Update socket options for the newly created socket. Accepts either `net.Socket` or its subclass `tls.TLSSocket`.
@param {net.Socket} socket the socket to configure.
@return {net.Socket} the given socket.