Updates to the emulator and socketTest tests

Now in their own folder and can now emulate more than one socket at a
time. Still doesn't work with the SmartPoint app.