Initial server / client implementation.