public static void setConnectionFactory(final ConnectionFactory connectionFactory) {
    if (connectionFactory == null)
      CONNECTION_FACTORY = ConnectionFactory.DEFAULT;
    else
      CONNECTION_FACTORY = connectionFactory;
  }
Specify the {@link ConnectionFactory} used to create new requests.
lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java