fixed the example to actually work (using HTTP at least)