Most of the code required to handle the initial connections is now grouped under "ConnectionManager.java".