Changes to make socket communicate with NetEmu