Test network speed port — Port to test testingUrl — URL to test (need response 200 or 204 code)
port
testingUrl
Future<int> ping(int port, String testingUrl);