Fix various basic code quality issues with this example.
Parameterize the URI so it can serve as an HTTPS example as well.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/agent-https-docs-7658@43652 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb