Ugh, single massive commit.  Adds relaying between hosts and lots of debugging fixes