title: How to create httpcookie from string?
body: <p>I have cookie string from android cookie manager</p>
  
  <pre><code>String stringCookie = android.webkit.CookieManager.getInstance().getCookie(url);
  </code></pre>
  
  <p>returns  </p>
  
  <pre><code>hl=ru; PHPSESSID=qmvc3c7qq3r07a3dqn7hgk4065
  </code></pre>
  
  <p>Then, I use HttpCookie.parse</p>
  
  <pre><code>List&lt;HttpCookie&gt; cookies = HttpCookie.parse(stringCookie);
            for (HttpCookie c : cookies) {
              Log.e("My WebView","cookie "+ c.toString()+" | "+c.getComment() + " | " +c.getCommentURL()
                  + " | " +c.getDomain() + " | " +c.getName() + " | " +c.getPath() + " | " +c.getValue());
            }
  </code></pre>
  
  <p>but, phpsessid is always lost, log shows</p>
  
  <pre><code>cookie hl=ru | null | null | null | hl | null | ru
  </code></pre>
  
  <p>How to make propper conversion?</p>