code: private void recordSocketCreation(SocketDestination dest, Socket socket) throws SocketException {
          int numCreated = created.incrementAndGet();
          logger.debug("Created socket " + numCreated + " for " + dest.getHost() + ":"
                       + dest.getPort() + " using protocol " + dest.getRequestFormatType().getCode());
  
          // check buffer sizes--you often don't get out what you put in!
          int sendBufferSize = socket.getSendBufferSize();
          int receiveBufferSize = socket.getReceiveBufferSize();
          if(receiveBufferSize != this.socketBufferSize)
              logger.debug("Requested socket receive buffer size was " + this.socketBufferSize
                           + " bytes but actual size is " + receiveBufferSize + " bytes.");
          if(sendBufferSize != this.socketBufferSize)
              logger.debug("Requested socket send buffer size was " + this.socketBufferSize
                           + " bytes but actual size is " + sendBufferSize + " bytes.");
      }
docs: /* Log relevant socket creation details