new()
@:value(true)enableSound:Bool = true
connect(host:String, port:Int, ?onConnect:Bool ‑> Void):Void
offlineServer():Void
wait(host:String, port:Int, ?onConnected:NetworkClient ‑> Void):Void