text: #include <iostream>
  #include <thread>
  #include <chrono>
  
  #include "handler.h"
  
  using namespace std;
  using namespace web;
  using namespace http;
  using namespace utility;
  using namespace http::experimental::listener;
  
  int main(int argc, char *argv[])
  {
      std::unique_ptr<Handler> http_handler;
  
      utility::string_t port = U("9000");
      utility::string_t address = U("http://0.0.0.0:");
      address.append(port);
      uri_builder uri(address);
      auto addr = uri.to_uri().to_string();
      http_handler = std::unique_ptr<Handler>(new Handler(addr));
      http_handler->open().wait();
  
      std::cout << "Server running. Press any key to exit." << std::endl;
      std::string line;
      std::getline(std::cin, line);
  
      http_handler->close().wait();
      return 0;
  }