wip: use the Resource interface to Autobahn