Test the Server class
Most of the preceding infrastructure work was triggered by this, specifically the need to watch Connection state.