Sample Flask server and client