Configure which network interface to use for tests

- Add interface option to config file
- Add function to look up IP address of an interface from its name
- If interface option is specified, monkey patch httplib so that we can
  pass it a source IP address to which it can bind, and then pass it the
  IP address of the interface named in the config file.