Reimplements teapot demo.