Injectable origin reachability check.
typedef LikeServerCheck = Future<bool?> Function(String host, int port, Duration timeout);