I think I had failed to appreciate the problem... on travis, you can't even open a connection to localhost.  Should I just remove these tests, or is there some more sensible way to make sure that connections to localhost are allowed?