Examples to show how to handle TWKB in web server and client