connect static method
Implementation
static Future<WebPresenterConnection> connect(String host,
{int port = 9977, Duration? timeout}) async {
final connection = Socket.connect(host, port);
return WebPresenterConnection._(
timeout == null ? await connection : await connection.timeout(timeout));
}