Foundation for Game Server changes.

Removed unused code, added comments,  adjusted for new connection
limits.