Base for server/client applications