This example must be run on a server to work properly.