server: Reduce scope of struct server_command.