Should we integrate the network checking inside the library?
Could be better split into a diferent module to avoid future "spaguetti code" ;)