Update tcp.rb

Add an idle connection timeout for tcp clients so that logstash shippers can play nice with proxies (HAproxy) who will terminate connections after a certain period of time (which causes events to be missed).