Copied from the Test-Fake-HTTPD-0.06 distribution.
