Make TCPOutput more robust to failures
Make TCPOutput more robust to failures

This should allow for running a gor listener on a
production box and bringing up and down the replay
node without having to go restart the listener.

jonsie/gor,landryshuai/gor,Sk464036801/gor,arothian/gor,LiuShulong/gor,yiliaofan/gor,jasonchaffee/gor,mre/gor,adriano-io/gor,on99/gor,baotingfang/gor,Amirus/gor,antonini/gor,MenZil/gor,deliangyang/gor,jamesblunt/gor,sunqk13022/gor,chunshengster/gor,cregev/gor,justanshulsharma/gor,dougmoscrop/gor,jmptrader/gor,reeze/gor,no2key/gor,chenwenbin928/gor-1,treejames/gor-1,cemkoc/gor,insionng/gor,leucos/gor,w4ngyi/gor,qbdsoft/gor,daodaoliang/gor,yangzilong1986/gor,bunnyblue/gor,weiyihz/gor,dshamaeli/gor,jakubholynet/gor,chengky/gor,wfxiang08/gor,wxdublin/gor,chinanjjohn2012/gor,dt/gor,torfuzx/gor,sshling/gor,chosen0ne/gor,limingwei/gor,bkochendorfer/gor,LightCity/gor,davidwalter0/gor,ironsmile/gor,Neeke/gor,obbectim/gor