check close on both incoming/outgoing websocket
check close on both incoming/outgoing websocket

Need to make sure close is only sent to the server once, either from a
client initiation or from a server echo.  This adds the sent check to
both incoming and outgoing threads.

upsuper/servo,mbrubeck/servo,eddyb/servo,KiChjang/servo,upsuper/servo,anthgur/servo,KiChjang/servo,dsandeephegde/servo,canaltinova/servo,szeged/servo,pyfisch/servo,thiagopnts/servo,SimonSapin/servo,CJ8664/servo,KiChjang/servo,dsandeephegde/servo,saneyuki/servo,emilio/servo,mbrubeck/servo,anthgur/servo,szeged/servo,KiChjang/servo,DominoTree/servo,szeged/servo,paulrouget/servo,KiChjang/servo,avadacatavra/servo,rnestler/servo,splav/servo,mattnenterprise/servo,SimonSapin/servo,CJ8664/servo,fiji-flo/servo,splav/servo,avadacatavra/servo,nnethercote/servo,jimberlage/servo,dsandeephegde/servo,emilio/servo,splav/servo,dsandeephegde/servo,rnestler/servo,upsuper/servo,dati91/servo,notriddle/servo,larsbergstrom/servo,emilio/servo,nrc/servo,nrc/servo,szeged/servo,nnethercote/servo,szeged/servo,dati91/servo,jimberlage/servo,nrc/servo,ConnorGBrewster/servo,canaltinova/servo,peterjoel/servo,larsbergstrom/servo,cbrewster/servo,notriddle/servo,peterjoel/servo,szeged/servo,notriddle/servo,mbrubeck/servo,DominoTree/servo,thiagopnts/servo,eddyb/servo,jimberlage/servo,anthgur/servo,avadacatavra/servo,canaltinova/servo,nnethercote/servo,nnethercote/servo,paulrouget/servo,notriddle/servo,saneyuki/servo,saneyuki/servo,szeged/servo,SimonSapin/servo,KiChjang/servo,emilio/servo,paulrouget/servo,fiji-flo/servo,paulrouget/servo,sadmansk/servo,fiji-flo/servo,peterjoel/servo,notriddle/servo,splav/servo,ConnorGBrewster/servo,mbrubeck/servo,saneyuki/servo,splav/servo,dati91/servo,dsandeephegde/servo,emilio/servo,eddyb/servo,DominoTree/servo,dsandeephegde/servo,szeged/servo,szeged/servo,larsbergstrom/servo,mbrubeck/servo,DominoTree/servo,nnethercote/servo,paulrouget/servo,mbrubeck/servo,ConnorGBrewster/servo,SimonSapin/servo,jimberlage/servo,anthgur/servo,notriddle/servo,paulrouget/servo,nnethercote/servo,larsbergstrom/servo,KiChjang/servo,eddyb/servo,sadmansk/servo,pyfisch/servo,nrc/servo,avadacatavra/servo,pyfisch/servo,ConnorGBrewster/servo,peterjoel/servo,thiagopnts/servo,avadacatavra/servo,larsbergstrom/servo,notriddle/servo,sadmansk/servo,cbrewster/servo,mattnenterprise/servo,sadmansk/servo,nnethercote/servo,emilio/servo,canaltinova/servo,KiChjang/servo,CJ8664/servo,pyfisch/servo,CJ8664/servo,fiji-flo/servo,saneyuki/servo,nrc/servo,mattnenterprise/servo,sadmansk/servo,upsuper/servo,larsbergstrom/servo,pyfisch/servo,larsbergstrom/servo,pyfisch/servo,mbrubeck/servo,KiChjang/servo,thiagopnts/servo,cbrewster/servo,splav/servo,cbrewster/servo,ConnorGBrewster/servo,mbrubeck/servo,splav/servo,emilio/servo,saneyuki/servo,CJ8664/servo,upsuper/servo,sadmansk/servo,saneyuki/servo,saneyuki/servo,pyfisch/servo,KiChjang/servo,pyfisch/servo,nrc/servo,mattnenterprise/servo,peterjoel/servo,peterjoel/servo,nnethercote/servo,eddyb/servo,thiagopnts/servo,upsuper/servo,peterjoel/servo,fiji-flo/servo,jimberlage/servo,larsbergstrom/servo,rnestler/servo,szeged/servo,eddyb/servo,jimberlage/servo,mattnenterprise/servo,thiagopnts/servo,DominoTree/servo,DominoTree/servo,upsuper/servo,avadacatavra/servo,splav/servo,CJ8664/servo,sadmansk/servo,CJ8664/servo,dsandeephegde/servo,splav/servo,thiagopnts/servo,ConnorGBrewster/servo,DominoTree/servo,dsandeephegde/servo,dati91/servo,thiagopnts/servo,notriddle/servo,DominoTree/servo,peterjoel/servo,jimberlage/servo,jimberlage/servo,avadacatavra/servo,cbrewster/servo,saneyuki/servo,sadmansk/servo,emilio/servo,avadacatavra/servo,canaltinova/servo,dati91/servo,cbrewster/servo,SimonSapin/servo,rnestler/servo,ConnorGBrewster/servo,anthgur/servo,peterjoel/servo,emilio/servo,ConnorGBrewster/servo,SimonSapin/servo,nrc/servo,paulrouget/servo,saneyuki/servo,cbrewster/servo,canaltinova/servo,paulrouget/servo,pyfisch/servo,DominoTree/servo,cbrewster/servo,emilio/servo,larsbergstrom/servo,SimonSapin/servo,SimonSapin/servo,larsbergstrom/servo,anthgur/servo,dati91/servo,canaltinova/servo,DominoTree/servo,rnestler/servo,paulrouget/servo,rnestler/servo,eddyb/servo,fiji-flo/servo,anthgur/servo,notriddle/servo,upsuper/servo,mattnenterprise/servo,splav/servo,mattnenterprise/servo,canaltinova/servo,CJ8664/servo,anthgur/servo,nnethercote/servo,notriddle/servo,mattnenterprise/servo,paulrouget/servo,fiji-flo/servo,peterjoel/servo,nnethercote/servo,rnestler/servo,dati91/servo,dati91/servo,rnestler/servo,jimberlage/servo,pyfisch/servo,eddyb/servo,fiji-flo/servo