title: How to connect to api.github.com using POCO library
body: <p>I'm trying to establish connection with github server via POCO library, my code:  </p>
  
  <pre><code>Poco::Net::initializeSSL();
  
      Poco::Net::Context context(Poco::Net::Context::CLIENT_USE, "", "", "", Poco::Net::Context::VERIFY_RELAXED, 9, false, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
  
      URI uri("https://api.github.com/zen");
      std::string path(uri.getPathAndQuery());
  
      HTTPSClientSession client(uri.getHost(), uri.getPort(), &amp;context);
  
      HTTPRequest req(HTTPRequest::HTTP_GET, path, HTTPMessage::HTTP_1_1);
  
      if (!client.connected())
      {
          int a{ 0 };//&lt;&lt;==ALWAYS END UP HERE, MEANING THAT client isn't connected
      }  
  </code></pre>
  
  <p>Does anybody know how to connect to that server, i.e. what steps are required in order to achieve that?</p>