remove the CLIENT macro; keep SERVER (check for client: #ifndef SERVER)