code: public void writeRequest(final NextFilter nextFilter,
              final HttpProxyRequest request) {
          ProxyIoSession proxyIoSession = getProxyIoSession();
  
          if (proxyIoSession.isReconnectionNeeded()) {
              reconnect(nextFilter, request);
          } else {
              writeRequest0(nextFilter, request);
          }
      }
docs: Calls{@link #writeRequest0(NextFilter, HttpProxyRequest)} to write the request.
  If needed a reconnection to the proxy is done previously.
  
  @param nextFilter the next filter
  @param request the http request