add twisted example returning a deferred. it does not work. yet.