Move server-to-server commands into protocol module