title: android-async-http Status code and response to onFailure
body: <p>if failure authorization my http server send response: 401, binary "401" and send "close socket"</p>
  
  <p>When i test it, send command in CURL, i have:</p>
  
  <blockquote>
    <p>HTTP/1.1 401 Unauthorized 
    date: Sat, 12 Oct 2013 10:16:31 GMT
    content-length: 3 
    connection: close</p>
    
    <p>401</p>
  </blockquote>
  
  <p>Its AllRight)</p>
  
  <p>BUT, My Loopj client:</p>
  
  <pre><code> public void onFailure(Throwable e, String response) {
    Log.e("ERROR CONNECT", "ERROR CONNECT:::::::::::::" + response + "|" + e + "|");
   }
  </code></pre>
  
  <p><code>
  ERROR CONNECT:::::::::::::can't resolve host|java.net.SocketException: Connection reset by peer|
  </code></p>
  
  <p>Why i have this response: <code>can't resolve host</code> ???</p>
  
  <p>And how i can get response?</p>