Added some extension methods for HttpServer so that integration tests are cleaner.