Python program that pings hosts, gets hosts HTTP status code, retrive the headers and save entries in a MongoDB database