changes to tracking of connection state. fixed a number of bugs related to sending duplicate messages
changes to tracking of connection state. fixed a number of bugs related to sending duplicate messages

rc2server/appserver,rc2server/appserver,rc2server/appserver