Consolidating ServerClient constructor logic.