script to check http conectivity