use HTTP instead of TCP to check web server is ready