network, test connect to http server, get head