public HttpRequest trustAllHosts() {
    final HttpURLConnection connection = getConnection();
    if (connection instanceof HttpsURLConnection)
      ((HttpsURLConnection) connection)
          .setHostnameVerifier(getTrustedVerifier());
    return this;
  }
Configure HTTPS connection to trust all hosts using a custom
{@link HostnameVerifier} that always returns <code>true</code> for each
host verified
<p>
This method does nothing if the current request is not a HTTPS request

@return this request
lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java