accomplish the same functionality as the web_server_checker_tcp.py did with the httplib module