title: Get full HTTP request
body: <p>For debugging matters, I would like to get the request executed by Unirest-Java when presented with a set of options. How can I get this:</p>
  
  <pre><code>POST / HTTP/1.1
  Host: www.some.host.tld
  Connection: keep-alive
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
  field1=FIELD1&amp;field2=FIELD2
  </code></pre>
  
  <p>From this:</p>
  
  <pre><code>HttpRequest request = Unirest.post(SOMEHOST_URL)
              .field("field1" , FIELD1)
              .field("field2", FIELD2)
              .getHttpRequest();
  </code></pre>
  
  <p>That is, how can I get the full HTTP request from a <code>HttpRequest</code>? I don't really know of a proxy to use, as the only one with which I could get SSL support working was Charles, and for some reason it won't pickup the java traffic. Other tools would choke on the SSL mainly because the server I need to talk to is flawed, using self-signed certificates and invalid hostnames. So I would gladly try a proxy, but it has to work under these conditions. Better would be to extract this information from <code>Unirest</code>/<code>HTTPClient</code> itself. I already tried building the <code>HttpClient</code> with <code>.setInterceptorFirst(</code> but I couldn't get the request body from the interceptor, only <em>some</em> of its headers.</p>