[MotionTwin] flash.net.Socket implementation

Tested on iOS and Android