Server part of the mandoku client / server version