Removed unused statement
Complete rewrite
Several changes:

+ File-level comment
+ List of TODOs
+ Change to HTTP method dispatch to avoid allowing clients to call
  arbitrary methods.
+ Using argparse for arguments
+ Different constant naming scheme.
Added --host cmd-line flag and slightly restructured main.