Simple Python script to do socket checks and produce a web page.