protected final HttpClient newHttpClient(ClientBuilderParams params) {
        final ClientOptions newOptions = params.options().toBuilder().factory(unwrap()).build();
        final ClientBuilderParams newParams = params.paramsBuilder()
                                                    .serializationFormat(SerializationFormat.NONE)
                                                    .options(newOptions)
                                                    .clientType(HttpClient.class)
                                                    .build();
        return (HttpClient) unwrap().newClient(newParams);
    }
Creates a new {@link HttpClient} which uses the same {@link SessionProtocol}, {@link EndpointGroup} and
{@link ClientOptions} with the specified {@link ClientBuilderParams}. Note that {@code path} and
{@link SerializationFormat} are always {@code "/"} and {@link SerializationFormat#NONE}.
core/src/main/java/com/linecorp/armeria/client/DecoratingClientFactory.java