possible Python 2.3 improvements:
- get rid of timeoutsocket.py, the default socket has timeouts
- use optparse instead of getopt with more flexible commandline help
- replace the debug() function with the logging module
  we'll see how we can insert multiple debug levels into this thing
- use Bool object type
