Add bool flag to network.ping