Rename 'hostname' to 'host' for consistency with the HTTP spec.
Expectations should be the first term.
Fix accidental breakage when querying for hosts.
Make the generated host names unique to a test run.
More behaviours with regard to www handling for hosts.