Server implementation for ring-php