Changed interface so external machines can connect.  Also fixed a typo in the mock.