Added basic socket emulator

This emulator won't work with the SmartPoint app (the app displays an
error) but does work with the Ninja Block driver