Fix issue where invalid connections were being added to the connection map, caused by adding them when acceptNextConnection() was called, instead of adding them once the accept has successfully completed, which is the real indicator that a connection has been accepted/started.
Fix issue where invalid connections were being added to the connection map, caused by adding them when acceptNextConnection() was called, instead of adding them once the accept has successfully completed, which is the real indicator that a connection has been accepted/started.

JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio