Server protocol implementation