fix lan seeding
major refactor of all the relay logic, needs lots more testing