a demonstration of how to use websockets from a newbie