Rewritten example server and new example client