@Test
  void canOverrideHostnameVerifier() throws IOException, InterruptedException {
    server.useHttps(TrustingSSLSocketFactory.get("bad.example.com"), false);
    server.enqueue(new MockResponse());

    TestInterface api =
        Feign.builder()
            .client(disableHostnameVerification)
            .target(TestInterface.class, "https://localhost:" + server.getPort());

    api.post("foo");
  }
We currently don't include the <a href="http://java.net/jira/browse/JERSEY-639">60-line
workaround</a> jersey uses to overcome the lack of support for PATCH. For now, prefer okhttp.

@see java.net.HttpURLConnection#setRequestMethod
core/src/test/java/feign/client/DefaultClientTest.java