Simple server/client implementation.