protected HttpResponse doConnect(ServiceRequestContext ctx, HttpRequest req) throws Exception {
        return HttpResponse.of(HttpStatus.METHOD_NOT_ALLOWED);
    }
Handles a {@link HttpMethod#CONNECT CONNECT} request. Note that Armeria handles only a {@code CONNECT}
request with a {@code :protocol} HTTP/2 pseudo header, as defined in <a
href="https://datatracker.ietf.org/doc/html/rfc8441#section-4">RFC8441, Bootstrapping WebSockets with
HTTP/2</a>. This method sends a {@link HttpStatus#METHOD_NOT_ALLOWED 405 Method Not Allowed} response
by default.
core/src/main/java/com/linecorp/armeria/server/AbstractHttpService.java