docs: private void sendStatusAndClose(final Channel chan, final HttpResponseStatus status) {
      if (chan.isConnected()) {
        final DefaultHttpResponse response = new DefaultHttpResponse(HttpVersion.HTTP_1_1, status);
        final ChannelFuture future = chan.write(response);
        future.addListener(ChannelFutureListener.CLOSE);
      }
    }