Prepare for a start of server mode.