server: change prototype of add_service()