Abstract so that we can use haxe.io.Socket or openfl.netSocket if available and not disabled
haxe.io.Socket
openfl.netSocket
staticbigEndian:Bool
staticinlineconnect(this:Socket, host:String, port:Int):Void
staticinlineread(this:Socket, nbytes:Int):Bytes
staticinlinereadInt32(this:Socket):Int
staticinlinewrite(this:Socket, bytes:Bytes):Void
staticinlinewriteInt32(this:Socket, val:Int):Void