C++/Java website ping utility