/* TODO implement reconnect timeout
var dyingConnections = []

var reconnectTimeoutHandle = setTimeout(function(){
var dead = []
var now = Date.now()
dyingConnections.forEach(function(c){
if(now - c.connectionLostTime > ReconnectPeriod){
}
})
},1000)
function addConnection(c){
		++connectionCount
		if(!connections){
			//console.log('WARNING: adding connection from destroyed server')
			c.destroy()
			return
		}
		connections.push(c)
		console.log('connections: ' + connectionCount)
	}